var getid=getParam("id")
showToast({title:'',type:1})
var app = new Vue({
    el: '#app',
    data: {
        msgInfo:{},
        showApp:false,
    },
    mounted:function() {
        this.getDetail()
    },
    methods: {
        getDetail: function() {
            // console.log(getid)
            $ajax.post(apiUrl.orderDetail,{ //chargeState //充电中  1未充电 2完成
                orderNum:getid
            },function(res){
                console.log(res);
                showToast({title:'',type:2})
                app.msgInfo=res.data;
                app.showApp=true;
            })
        },
    }

})